← Back to issue list

Snapcraft complains about "snapcraft.yaml~" in snap/ dir

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1795780
Type
issue
State
open
Author
~jamesh
Labels
Created
2018-10-03 03:32:11.641408+00:00
Updated
2018-10-03 03:32:11.641408+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

When I'm developing a snap project and run snapcraft, I get the following warning message: The snap/ directory is meant specifically for snapcraft, but it contains the following non-snapcraft-related paths, which is unsupported and will cause unexpected behavior: - snapcraft.yaml~ If you must store these files within the snap/ directory, move them to snap/local/, which is ignored by snapcraft. The check for non-snapcraft files is a good idea, but having it trigger for common cases like backup files from editors is just noise. Worse, it could lead to people missing real problems if they start ignoring the message "because Snapcraft always prints that".

Evaluation history

No evaluation history available.